package com.auth.config.exception;

/**
 * @author Huawei
 * @date 2023-10-10 15:48
 */
public class ExceptionInstance {

    public static void protectionPassword(Boolean isTrue, String message) {
        if (isTrue) {
            throw new HttpRequestException(message);
        }
    }
}
